package com.mybatisx.mybatisplus.controller;


import com.mybatisx.mybatisplus.service.MasterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wuyue
 * @since 2021-09-09
 */
@RestController
@RequestMapping("/mybatisplus/master")
public class MasterController {


    @Autowired
    private MasterService masterService;

    @RequestMapping("/test1")
    public void test1(){
         masterService.selectById01(1);
    }
    @RequestMapping("/test2")
    public void test2(){
         masterService.selectById02(1);
    }
    @RequestMapping("/test3")
    public void test3(){
         masterService.selectById03(1);
    }
}

